//
//  OrderLogisticsTableViewCell.swift
//  OnceNectar
//
//  Created by 吴凌 on 2018/8/1.
//  Copyright © 2018年 com.inwhoop. All rights reserved.
//

import UIKit
protocol OrderLogisticsTableViewCellDelegate: NSObjectProtocol {
    func pushLogistics()
}

class OrderLogisticsTableViewCell: UITableViewCell {

    @IBOutlet weak var btn: UIButton!
    @IBOutlet weak var title: UILabel!
    weak var delegate: OrderLogisticsTableViewCellDelegate?
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func setTitle() -> Void {
        title.text = "查看物流"
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    @IBAction func pushLogistics(_ sender: Any) {
        self.delegate?.pushLogistics()
    }
}
